package com.cnap.multiclouldmgmt.model.scale.group;

import com.cnap.multiclouldmgmt.model.scale.db.ScalingConfigPO;
import com.cnap.multiclouldmgmt.model.scale.db.ScalingGroupPO;
import com.cnap.multiclouldmgmt.model.scale.db.ScalingPolicyPO;

import java.util.List;

/**
 * 创建默认伸缩配置（全套）
 *
 * @author xc
 **/
public class CreateDefaultScalingDTO {
    // config
    private ScalingConfigPO config;
    // group
    private ScalingGroupPO group;
    // 扩缩容，2个
    private List<ScalingPolicyPO> polices;

    /**
     * get
     *
     * @return Config
     */
    public ScalingConfigPO getConfig() {
        return config;
    }

    /**
     * set
     *
     * @param config config
     */
    public void setConfig(ScalingConfigPO config) {
        this.config = config;
    }

    /**
     * get
     *
     * @return Group
     */
    public ScalingGroupPO getGroup() {
        return group;
    }

    /**
     * set
     *
     * @param group group
     */
    public void setGroup(ScalingGroupPO group) {
        this.group = group;
    }

    /**
     * get
     *
     * @return Polices
     */
    public List<ScalingPolicyPO> getPolices() {
        return polices;
    }

    /**
     * set
     *
     * @param polices polices
     */
    public void setPolices(List<ScalingPolicyPO> polices) {
        this.polices = polices;
    }
}
